package com.zzuli.dcxt.dao;

import com.zzuli.dcxt.entiy.Category;
import com.zzuli.dcxt.entiy.Dishes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishesMapper {
    List<Dishes> selectAll();

    void add(Dishes dishes);

    Dishes selectOne(int id);

    void update(Dishes dishes);

    void delete(int id);

    List<Category> getCategory();

    List<String> searchLbByKeyword(String keyword);
}
